package com.tensquare.problem.service;


import com.tensquare.problem.dao.ReplyDao;
import com.tensquare.problem.pojo.Reply;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReplyService {

    @Autowired
    private ReplyDao replyDao;


    //查询 回答
    public List<Reply> findByPid(String problemid){

        return replyDao.findByProblemid(problemid);
    }

}
